package com.fawvwebanma.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("orderinfo")
public class Order implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String orderNum;
    private String trainNum;
    private String date;
    private String personId;
    private String carriageNum;
    private String seatNum;
    private String leavingStationNum;
    private String arriveStationNum;
    private String ticketType;
    private Date orderTIme;
    private Integer orderStatus;
}
